package com.gome.boot.config.elasticsearch.cluster;

/**
 * 集群状态.
 *
 * @author baoxiufeng
 */
public enum ClusterStats {

    AVAILABLE(1, "集群可用"),
    UNAVAILABLE(0, "集群不可用");

    private int stats;
    private String comment;

    ClusterStats(int stats, String comment) {
        this.stats = stats;
        this.comment = comment;
    }

    public int getStats() {
        return stats;
    }

    public String getComment() {
        return comment;
    }
}
